import { DomSanitizer } from "@angular/platform-browser";
import { MatIconRegistry } from "@angular/material";

export const loadSvgResources = (ir: MatIconRegistry, ds: DomSanitizer) => {
  ir.addSvgIcon("avatar1", ds.bypassSecurityTrustResourceUrl('assets/avatars/avatar-girl.svg'));
  ir.addSvgIcon("avatar2", ds.bypassSecurityTrustResourceUrl('assets/avatars/avatar-girl2.svg'));
  ir.addSvgIcon("avatar3", ds.bypassSecurityTrustResourceUrl('assets/avatars/avatar-girl3.svg'));
  ir.addSvgIcon("avatar4", ds.bypassSecurityTrustResourceUrl('assets/avatars/avatar-boy.svg'));
  ir.addSvgIcon("avatar5", ds.bypassSecurityTrustResourceUrl('assets/avatars/avatar-boy2.svg'));
  ir.addSvgIcon("avatar6", ds.bypassSecurityTrustResourceUrl('assets/avatars/avatar-boy3.svg'));
};
